import java.util.List;
import java.util.Vector;

import javax.swing.table.DefaultTableModel;


public class MyTableModel extends DefaultTableModel {

	private static final long serialVersionUID = 759485643981642518L;

	void addRo_(Vector<String> row) {
		Object[] r = row.toArray(new String[row.size()]);
		this.addRow(r);
	}

	void addCols(List<String> cols) {
		for (String col : cols) {
			this.addColumn(col);
		}
	}
	

}